Skip to content

Fix for MTR Framebuffers#554

Merged
shadowislord merged 1 commit into
jMonkeyEngine:masterfrom
TehLeo:patch-2
Sep 11, 2016
Merged

Fix for MTR Framebuffers#554
shadowislord merged 1 commit into
jMonkeyEngine:masterfrom
TehLeo:patch-2

Conversation

@TehLeo
Copy link
Copy Markdown
Contributor

@TehLeo TehLeo commented Sep 10, 2016

The problem: Happens with two MTR framebuffers with same number of color attachements.
If we set a frame buffer frame1, then later frame2.
r.setFrameBuffer(frame1);
r.setFrameBuffer(frame2);
Frame2 buffer will not output to multiple targets. Only its first target will be rendered.
This patch fixes that problem.

The problem: Happens with two MTR framebuffers with same number of color attachements.
If we set a frame buffer frame1, then later frame2.
r.setFrameBuffer(frame1);
r.setFrameBuffer(frame2);
Frame2 buffer will not output to multiple targets. Only its first target will be rendered.
This patch fixes that problem.
@shadowislord shadowislord merged commit eadec4c into jMonkeyEngine:master Sep 11, 2016
shadowislord added a commit that referenced this pull request Sep 11, 2016
Fix for MTR Framebuffers
@TehLeo TehLeo deleted the patch-2 branch September 11, 2016 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants